.class public Lcom/estrongs/android/view/t;
.super Lcom/estrongs/android/view/h0;
.source "ClipboardItemView.java"


# instance fields
.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Lcom/estrongs/android/view/s;

.field private h:Z

.field private i:Z

.field private j:Landroid/widget/LinearLayout;

.field private k:Landroid/widget/LinearLayout;

.field private l:Lcom/estrongs/android/view/r;

.field private m:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/estrongs/android/view/s;Ljava/util/List;Z)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/view/s;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;Z)V"
        }
    .end annotation

    .line 1
    invoke-virtual {p1}, Lcom/estrongs/android/view/s;->c()Landroid/app/Activity;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/estrongs/android/view/h0;-><init>(Landroid/content/Context;)V

    .line 2
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    .line 3
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    const/16 v1, 0x8

    if-ge v0, v1, :cond_0

    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/estrongs/android/view/t;->i:Z

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 5
    iput-boolean v0, p0, Lcom/estrongs/android/view/t;->i:Z

    .line 6
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/view/t;->g:Lcom/estrongs/android/view/s;

    .line 8
    iput-boolean p3, p0, Lcom/estrongs/android/view/t;->h:Z

    .line 9
    invoke-direct {p0}, Lcom/estrongs/android/view/t;->r()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/view/t;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/view/t;Ljava/util/List;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/view/t;->d(Ljava/util/List;)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/view/t;)Lcom/estrongs/android/view/s;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/t;->g:Lcom/estrongs/android/view/s;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/view/t;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/view/t;->i:Z

    return p0
.end method

.method private d(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/t;->g:Lcom/estrongs/android/view/s;

    iget-boolean v1, p0, Lcom/estrongs/android/view/t;->h:Z

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/android/view/s;->a(Ljava/util/List;Ljava/lang/Boolean;)V

    return-void
.end method

.method static synthetic d(Lcom/estrongs/android/view/t;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/view/t;->h:Z

    return p0
.end method

.method static synthetic e(Lcom/estrongs/android/view/t;)Lcom/estrongs/android/view/r;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    return-object p0
.end method

.method private p()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/view/r;

    iget-object v1, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/view/r;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    .line 3
    new-instance v1, Lcom/estrongs/android/view/t$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/t$c;-><init>(Lcom/estrongs/android/view/t;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/r;->a(Lcom/estrongs/android/view/r$c;)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    iget-boolean v1, p0, Lcom/estrongs/android/view/t;->i:Z

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/r;->a(Z)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    invoke-virtual {v0}, Lcom/estrongs/android/view/r;->notifyDataSetChanged()V

    return-void
.end method

.method private q()V
    .locals 2

    const v0, 0x7f090229

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/view/t;->e:Landroid/widget/TextView;

    const v0, 0x7f090228

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/view/t;->f:Landroid/widget/TextView;

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/t;->e:Landroid/widget/TextView;

    new-instance v1, Lcom/estrongs/android/view/t$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/t$a;-><init>(Lcom/estrongs/android/view/t;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/t;->f:Landroid/widget/TextView;

    new-instance v1, Lcom/estrongs/android/view/t$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/t$b;-><init>(Lcom/estrongs/android/view/t;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private r()V
    .locals 1

    const v0, 0x7f0904cb

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/view/t;->k:Landroid/widget/LinearLayout;

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/view/t;->p()V

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/view/t;->q()V

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/view/s;)V
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/view/t;->g:Lcom/estrongs/android/view/s;

    return-void
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 3

    .line 1
    instance-of v0, p1, Lcom/estrongs/android/view/t;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    check-cast p1, Lcom/estrongs/android/view/t;

    .line 3
    iget-object v0, p1, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v2, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ne v0, v2, :cond_1

    iget-object p1, p1, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    iget-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    .line 4
    invoke-interface {p1, v0}, Ljava/util/List;->containsAll(Ljava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_1

    const/4 v1, 0x1

    :cond_1
    return v1
.end method

.method public hashCode()I
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 2
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 3
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    if-nez v3, :cond_0

    const/4 v3, 0x0

    goto :goto_1

    .line 4
    :cond_0
    invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I

    move-result v3

    :goto_1
    add-int/2addr v2, v3

    goto :goto_0

    :cond_1
    return v2
.end method

.method protected k()I
    .locals 1

    const v0, 0x7f0c01c9

    return v0
.end method

.method public l()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    return-object v0
.end method

.method public m()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/view/t;->h:Z

    return v0
.end method

.method protected n()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/t;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x41700000    # 15.0f

    invoke-static {v0, v1}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v0

    .line 3
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, 0x0

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v3, 0x3f800000    # 1.0f

    .line 4
    iput v3, v1, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    const/4 v3, 0x0

    .line 5
    :goto_0
    iget-object v4, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    invoke-virtual {v4}, Lcom/estrongs/android/view/r;->getCount()I

    move-result v4

    if-ge v3, v4, :cond_1

    .line 6
    rem-int/lit8 v4, v3, 0x4

    if-nez v4, :cond_0

    .line 7
    new-instance v4, Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {v4, v5}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/estrongs/android/view/t;->j:Landroid/widget/LinearLayout;

    .line 8
    invoke-virtual {v4, v2, v0, v2, v2}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 9
    iget-object v4, p0, Lcom/estrongs/android/view/t;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v2}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 10
    iget-object v4, p0, Lcom/estrongs/android/view/t;->k:Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/estrongs/android/view/t;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 11
    :cond_0
    iget-object v4, p0, Lcom/estrongs/android/view/t;->j:Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/estrongs/android/view/t;->l:Lcom/estrongs/android/view/r;

    const/4 v6, 0x0

    invoke-virtual {v5, v3, v6, v6}, Lcom/estrongs/android/view/r;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v4, v5, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method public o()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/t;->m:Ljava/util/List;

    invoke-direct {p0, v0}, Lcom/estrongs/android/view/t;->d(Ljava/util/List;)V

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/view/t;->h:Z

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/t;->g:Lcom/estrongs/android/view/s;

    invoke-virtual {v0, p0}, Lcom/estrongs/android/view/s;->a(Lcom/estrongs/android/view/t;)V

    :cond_0
    return-void
.end method
